package charts;

import graph.XYGraph;

import java.awt.Color;

import org.jfree.chart.axis.NumberAxis;
import org.jfree.chart.plot.XYPlot;
import org.jfree.data.xy.XYSeriesCollection;

public class ErrorChart extends XYGraph{

	public ErrorChart(String title,XYSeriesCollection dataset) {
		super(title, new NumberAxis("seconds"),new NumberAxis("error (microseconds)"), dataset);
		
		setPlotColor(new Color[] {Color.BLUE,Color.RED,Color.GREEN,Color.ORANGE});
		setPlotThickness(new float[]{1.3f,1.3f,1.0f,1.0f});
		renderer.setBaseShapesVisible(false);
	}
	
	protected void createLegend(XYPlot plot) {
//		chart.getLegend().setBackgroundPaint(Color.LIGHT_GRAY);
//		chart.getLegend().setFrame(BlockBorder.NONE);
	}
	
}
